package com.nais.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nais.domain.City;

@Mapper
public interface CityMapper {

	@Select("SELECT * FROM citys WHERE stat = #{state}")
	City findByState(@Param("state") String state);
	
}
